package cn.lili.xiaoran.entity;


import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 收藏表(LiQuestionsCollection)实体类
 *
 * @author makejava
 * @since 2022-08-14 22:05:25
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
public class LiQuestionsCollection implements Serializable {
    private static final long serialVersionUID = 789691097639473893L;
    private Integer id;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Boolean deleteFlag;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 回答id
     */
    private Integer questionsId;

    /**
     * 0:是问题，1是回答
     */
    private Integer type;

    private String userId;

    @TableField(exist = false)
    private Integer count;


}

